MarkLogic 10 Product Documentation
GET /manage/v2/databases/{id|name}/partition-queries/{partition-number}Summary
Retrieve the query assignment policy for a specific query partition.
URL Parameters |
format |
The format of the data in the response body.
Allowed values: html , json , or xml . Use this
parameter to override the Accept header. |
Request Headers |
Accept |
The desired MIME type of the data in the response
body. If the format parameter is present, it takes precedence over this header.
Supported values: application/xml (default), application/json ,
text/html . |
Content-type |
The MIME type of the data in the request
body. Depending upon the value of the format parameter or Accept header, one of
application/xml , application/json , or text/html . |
Response Headers |
Content-type |
The MIME type of the data in the response
body. Use the Accept header or format request parameter to specify a preferred
format. The format parameter takes precedence over the Accept header if both
are present. |
Response
Upon success, MarkLogic server returns status code 200 (OK) and the response
body contains the partition summary, in the requested format. A status code of 401
(Unauthorized) is returned if the user does not have the necessary privileges.
Required Privileges
This operation requires the
manage-user
role, or the following
privilege:
http://marklogic.com/xdmp/privileges/manage
Example
http://localhost:8002/manage/v2/databases/example-db/partition-queries/2
==> Returns the query assignment policy for query partition 2 in
the database example-db.
Copyright © 2024 MarkLogic Corporation. MARKLOGIC is a
registered trademark of MarkLogic Corporation.